package org.dreamwork.tools.code.analyzer.core.data.schema;

import org.dreamwork.persistence.*;

public class DetailSchema extends DatabaseSchema {
	public  DetailSchema () {
		tableName = "_detail";
		fields = new String[] {"_id", "_belongs_to", "_name", "_lines", "_length"};
	}

	@Override
	public String getPrimaryKeyName () {
		return "_id";
	}

	@Override
	public String getCreateDDL () {
		return "create table _detail (" +
"    _id             text            not null primary key," +
"    _belongs_to     text," +
"    _name           text,                                       " +
"    _lines          integer,                                    " +
"    _length         integer" +
")";
	}
}